package com.yunshang.shoppingmall.service;

import com.yunshang.shoppingmall.entity.OrderExport;
import com.yunshang.shoppingmall.entity.RemoveUserAndAddress;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.File;
import java.io.OutputStream;
import java.util.List;

public interface ExportService {
    List<RemoveUserAndAddress> removeDuplicate(List<RemoveUserAndAddress> list);
    void setResponseHeader(HttpServletResponse response, String fileName);
    OrderExport orderGroup(OrderExport orderExport);
    List<OrderExport> assOrderData(List<OrderExport> list2);
    List<OrderExport> assOrderDataName(List<OrderExport> list2,String name);
    void toZip(List<File> srcFiles , OutputStream out);
    void exportExcel (HttpServletRequest request, HttpServletResponse response);
    void exportExcel ();
}
